package com.pqtest.api.mapper;

import com.pqtest.api.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SllibraryMapper {
    List<SllibraryEntity> getListByTestCategory(TestCategoryEntity testCategoryEntity);
    long training(SlSimulibraryEntity simulibraryEntity);
    List<SlSimulibraryMaterialEntity> getMaterialById(@Param("id") int id);
    List<SlSimulibraryQuestionEntity> getQuestionById(@Param("id") int id, @Param("simuId") int simuId);
    long answer(SlSimulibraryAnswerEntity slSimulibraryAnswerEntity);
}
